package com.igroupes.ovineherd.model.Style;

import com.igroupes.ovineherd.model.enums.FormKey;

public class MonthRangeStyle extends DateStyle {
    public MonthRangeStyle(String label, Object value, Boolean required, String minDate, String maxDate) {
        super(label, value, required);
        this.type = FormKey.MONTHRANGE.getCode();
        this.minDate = minDate;
        this.maxDate = maxDate;
        this.format = "YYYY-MM";
        this.inputFormat = "YYYY年MM月";
    }
}
